package com.suse.captchademo.model;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@ConfigurationProperties(prefix = "captcha")
@Configuration
public class CaptchaProperties {
    private Integer width;
    private Integer height;
    private  Session session;

    @Data
   public static class Session {
        private String code;
        private String date;
    }
}
